package com.example.service;

import org.noear.solon.annotation.Component;

@Component
public class ServiceImpl implements IService{
    @Override
    public String hello1(LoginRequest loginRequest) {
        return "Hello " + loginRequest.getParameter1() + ", parameter1 is:" + loginRequest.getParameter2() + "!";
    }

    @Override
    public String hello2(String parameter1, String parameter2) {
        return "Hello " + parameter1 + ", parameter2 is:" + parameter2 + "!";
    }

    @Override
    public String hello3(String parameter1) {
        return "Hello " + parameter1 + "!";
    }
}
